package com.pj.wisdomlogistics.mvp.contract;


import com.pj.wisdomlogistics.entity.CarPoritionInfo;
import com.pj.wisdomlogistics.mvp.frame.base.BasePresenter;
import com.pj.wisdomlogistics.mvp.frame.base.BaseView;


public interface CarPoritionContract {
    public interface View extends BaseView {
        public void onError(String errorMsg);
        public void onSuccess(CarPoritionInfo mInfo);
        public void onSendSuccess();
    }

    public interface Presenter extends BasePresenter {
        public void findCarAndDriver();
        public void carApplyAllot(
                String userID ,
                String carApplyID ,
                String  state ,
                String driverName,
                String driverTel ,
                String carModel ,
                String carNum ,
                String driverID ,
                String carID ,
                String comment
        );
    }
}
